import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import home from '@/components/home'
import member from '@/components/member'
import search from '@/components/search'
import shopCart from '@/components/shopCart'

Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/shopCart',
      name: 'shopCart',
      component: shopCart
    }, {
      path: '/member',
      name: 'member',
      component: member
    },
    {
      path: '/search',
      name: 'search',
      component: search
    }
  ],
  linkActiveClass: 'mui-active'
})
